class Animal{
    move(){
        console.log('Moving along!')
    }
}

class Dog extends Animal{
    woof(times:number){
        for (let i = 0; i < times; i++) {
            console.log("woof! ",i)
        }
    }
}
const d = new Dog()
d.move()
d.woof(3)